package com.zlc.common.core.role.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zlc.common.common.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * @author  zl
* @date 2023-05-08
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "mayan_plat_data_role_config")
public class MayanPlatDataRoleConfig extends BaseEntity implements Serializable {
	private static final long serialVersionUID = 0L;
	/**
	 * 角色code
	 */@TableField(value="role_code_")
	private String roleCode;

	/**
	 * 权限类型 ALL|DEPT|SELF|CUSTOM
	 */@TableField(value="type_")
	private String type;

	/**
	 * 自定义查询部门 分号隔开
	 */@TableField(value="custom_dept_code_")
	private String customDeptCode;

}
